package net.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import net.dao.RasgoObjetoDao;
import net.model.RasgoObjeto;
import net.service.RasgoObjetoManager;

@Service
public class RasgoObjetoManagerImpl implements RasgoObjetoManager {

	@Autowired
	private RasgoObjetoDao rasgoObjetoDao;

	@Transactional
	public List<RasgoObjeto> getAllRasgoObjeto() {
		return rasgoObjetoDao.getAllRasgoObjeto();
	}

	@Transactional
	public void saveRasgoObjeto(RasgoObjeto rasgoObjeto) {
		rasgoObjetoDao.saveRasgoObjeto(rasgoObjeto);
	}

}
